package com.prototype.ECE492;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

public class Tag extends OverlayItem {
	TagType type;

	public Tag(GeoPoint point, String title, String snippet) {
		super(point, title, snippet);
	}
	
	public void setType(TagType type){
		this.type = type;
	}
	public TagType getType(){return type;}
	
	public String getInfoString(){
		return type.getName() + ", " + Integer.toString(mPoint.getLatitudeE6()) + "," +
					Integer.toString(mPoint.getLongitudeE6()) + "\n";
//		return rval;
	}
}
